package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 慢病证管理对象 chronic_disease_card
 * 
 * @author moweiyu
 * @date 2021-05-21
 */
public class ChronicDiseaseCard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long medCardId;

    /** 农合证号 */
    @Excel(name = "农合证号")
    private String nongheCardNumber;

    /** 慢病证号 */
    @Excel(name = "慢病证号")
    private String medCardNumber;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 疾病名称 */
    @Excel(name = "疾病名称")
    private String drName;

    /** 起始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 终止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "终止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String filePath;

    public void setMedCardId(Long medCardId) 
    {
        this.medCardId = medCardId;
    }

    public Long getMedCardId() 
    {
        return medCardId;
    }
    public void setNongheCardNumber(String nongheCardNumber) 
    {
        this.nongheCardNumber = nongheCardNumber;
    }

    public String getNongheCardNumber() 
    {
        return nongheCardNumber;
    }
    public void setMedCardNumber(String medCardNumber) 
    {
        this.medCardNumber = medCardNumber;
    }

    public String getMedCardNumber() 
    {
        return medCardNumber;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setDrName(String drName) 
    {
        this.drName = drName;
    }

    public String getDrName() 
    {
        return drName;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("medCardId", getMedCardId())
            .append("nongheCardNumber", getNongheCardNumber())
            .append("medCardNumber", getMedCardNumber())
            .append("idCard", getIdCard())
            .append("drName", getDrName())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("filePath", getFilePath())
            .toString();
    }
}
